
const models = {
  'product.product': {
    extend: BaseClass => {
      class cls extends BaseClass {
      }

      cls.get_theoretical_quantity = async (product_id, location_id, kwargs) => {
        //const { lot_id=null, package_id=null, owner_id=null, to_uom=null } = kwargs
        return cls.call(
          'get_theoretical_quantity',
          [ product_id, location_id ],
          kwargs,
        );
      }
      return cls;
    },
  },
};

export default {
  models,
};

